package com.ruoyi.system.domain.dto;

import java.util.List;

/**
 * 【请填写功能名称】 DTO 对象
 *
 * @author sjm
 */
public class AddressDTO {
    private Integer id;
    private Integer pid;
    private String name;
    private String level;
    private String code;


    private List<AddressDTO> children;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public List<AddressDTO> getChildren() {
        return children;
    }

    public void setChildren(List<AddressDTO> children) {
        this.children = children;
    }
}
